.class public Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;
.super Ljava/lang/Object;


# static fields
.field public static final MKBJg:I = 0x1

.field public static final TQhIL:I = 0x4

.field private static VRfgA:I = 0x0

.field private static final bWzyV:[Ljava/lang/String;

.field public static final jgUFr:I = 0x5

.field public static final lBzDo:I = 0x3

.field private static pRaSw:I = 0x0

.field public static final vqcQv:I = 0x0

.field public static final wQLUd:I = 0x2


# direct methods
.method static constructor <clinit>()V
    .locals 4

    const/4 v3, -0x1

    const/4 v0, 0x6

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "\u672a\u77e5"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, "\u8054\u53d1\u79d1"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "\u5c55\u8baf"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "\u9ad8\u901a"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string v2, "\u4e09\u661f"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string v2, "\u8054\u82af"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    sput-object v0, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->bWzyV:[Ljava/lang/String;

    sput v3, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    sput v3, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->pRaSw:I

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static DWJBY()I
    .locals 1

    invoke-static {}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->XJFYD()Ljava/lang/String;

    sget v0, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    return v0
.end method

.method private static Eellf(Ljava/lang/String;)I
    .locals 4

    invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "com.android.internal.telephony.iphonesubinfo"

    invoke-static {v1}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    if-lez v2, :cond_0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v3

    add-int/2addr v2, v3

    invoke-virtual {v0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x2

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method private static KrOPa(Ljava/lang/String;)I
    .locals 4

    const/4 v0, 0x2

    const/4 v1, 0x1

    const-string v2, "[init.svc.sprd"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    move v2, v0

    :goto_0
    if-nez v2, :cond_6

    const-string v3, ".sprd"

    invoke-static {v3}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p0, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_5

    :goto_1
    return v0

    :cond_0
    const-string v2, "[init.svc.mtk"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_1

    move v2, v1

    goto :goto_0

    :cond_1
    const-string v2, "[init.svc.qcom"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_2

    const/4 v2, 0x3

    goto :goto_0

    :cond_2
    const-string v2, "[init.svc.samsung"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    const/4 v2, 0x4

    goto :goto_0

    :cond_3
    const-string v2, "[init.svc.lc"

    invoke-static {v2}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_4

    const/4 v2, 0x5

    goto :goto_0

    :cond_4
    const/4 v2, 0x0

    goto :goto_0

    :cond_5
    const-string v0, ".mtk"

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_6

    move v0, v1

    goto :goto_1

    :cond_6
    move v0, v2

    goto :goto_1
.end method

.method private static XJFYD()Ljava/lang/String;
    .locals 6

    const/4 v1, 0x0

    const/4 v5, 0x2

    const/4 v4, 0x1

    const/4 v2, 0x0

    sget v0, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    if-gez v0, :cond_4

    sput v4, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    sput v2, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->pRaSw:I

    :try_start_0
    const-string v0, "service list"

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/adRDY;->uLmGW(Ljava/lang/String;)[Ljava/lang/Object;

    move-result-object v3

    const/4 v0, 0x0

    aget-object v0, v3, v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    aget-object v0, v3, v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->Eellf(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    :cond_0
    const-string v0, "getprop"

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/adRDY;->uLmGW(Ljava/lang/String;)[Ljava/lang/Object;

    move-result-object v3

    const/4 v0, 0x0

    aget-object v0, v3, v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_5

    const/4 v0, 0x1

    aget-object v0, v3, v0

    check-cast v0, Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    :try_start_1
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->KrOPa(Ljava/lang/String;)I

    move-result v1

    sput v1, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->pRaSw:I

    sget v1, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    if-ne v1, v4, :cond_1

    const-string v1, "gsm.sim.state"

    invoke-static {v1}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/ZZRjp;->TUfwG(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v3, ","

    invoke-virtual {v1, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 v1, 0x2

    sput v1, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I

    :cond_1
    :goto_0
    return-object v0

    :cond_2
    const-string v1, "\\[gsm\\..+\\.state.*\\]\\s*:\\s*\\[.*\\]"

    invoke-static {v1}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/JIiYM;->KikmK(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v3

    move v1, v2

    :goto_1
    invoke-virtual {v3}, Ljava/util/regex/Matcher;->find()Z

    move-result v2

    if-eqz v2, :cond_3

    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_3
    if-le v1, v5, :cond_1

    const/4 v1, 0x2

    sput v1, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->VRfgA:I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0

    :cond_4
    move-object v0, v1

    goto :goto_0

    :catch_1
    move-exception v0

    move-object v0, v1

    goto :goto_0

    :cond_5
    move-object v0, v1

    goto :goto_0
.end method

.method public static eyUIf()Ljava/lang/String;
    .locals 2

    invoke-static {}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->tozFJ()I

    sget-object v0, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->bWzyV:[Ljava/lang/String;

    sget v1, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->pRaSw:I

    aget-object v0, v0, v1

    return-object v0
.end method

.method public static tozFJ()I
    .locals 1

    invoke-static {}, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->XJFYD()Ljava/lang/String;

    sget v0, Lcom/QZIsp/oFsCf/wUYsV/hysNi/yLHfY;->pRaSw:I

    return v0
.end method
